package com.guigu.www.pojo;

import java.io.Serializable;
import java.util.Date;

public class Class implements Serializable {
    private Integer cid;

    private Integer zid;

    private String cname;

    private String ryear;

    private String byear;

    private Zy zy;

    public Class() {
    }

    public Class(Integer cid, Integer zid, String cname, String ryear, String byear, Zy zy) {
        this.cid = cid;
        this.zid = zid;
        this.cname = cname;
        this.ryear = ryear;
        this.byear = byear;
        this.zy = zy;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public Integer getZid() {
        return zid;
    }

    public void setZid(Integer zid) {
        this.zid = zid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getRyear() {
        return ryear;
    }

    public void setRyear(String ryear) {
        this.ryear = ryear;
    }

    public String getByear() {
        return byear;
    }

    public void setByear(String byear) {
        this.byear = byear;
    }

    public Zy getZy() {
        return zy;
    }

    public void setZy(Zy zy) {
        this.zy = zy;
    }

    @Override
    public String toString() {
        return "Class{" +
                "cid=" + cid +
                ", zid=" + zid +
                ", cname='" + cname + '\'' +
                ", ryear=" + ryear +
                ", byear=" + byear +
                ", zy=" + zy +
                '}';
    }
}